import java.util.ArrayList;

public class select {
    // 查询遍历所有学生
    public static ArrayList<Student> select_all(ArrayList<Student> studentlist) {
        System.out.println("学号      姓名    年龄");
        for (Student student : studentlist) {
            System.out.println(student.getSid()+"     "+
                    student.getName()+"     "+
                    student.getAge());
        }
        return studentlist;
    }


}
